package com.ruding.disruptor.init;

public class SeriesData<T> {
	
	private String type;
	
	private T data;
	
	private int size;
	
	private String batchId;

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getBatchId() {
		return batchId;
	}

	public void setBatchId(String batchId) {
		this.batchId = batchId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public SeriesData(String type, T data, int size, String batchId) {
		super();
		this.type = type;
		this.data = data;
		this.size = size;
		this.batchId = batchId;
	}
	
	
}
